<template>
  <div>
    <avue-crud
      :data="data"
      :option="optionInfo"
      :page.sync="page"
      :table-loading="tableLoading"
      @on-load="getList"
      @row-save="rowSave"
      @search-change="search"
      @search-reset="getList(page)"
      @row-del="rowDel"
      @row-update="rowUpdate"
    ></avue-crud>
  </div>
</template>
<script>
import {optionInfo} from '@/const/crud/opinion/index';
export default {
  data() {
    return {
      data: [],
      optionInfo: optionInfo(),
      tableLoading: false,
      page: {
        total: 0,
        currentPage: 1,
        pageSize: 10,
      },
    };
  },
  methods:{
    getList(){

    },
    rowSave(){},
    search(){},
    rowDel(){},
    rowUpdate(){}
  }
};
</script>